<?php if(isset($error)): ?>
    <div class="alert alert-danger"><?php echo $error; ?></div>
<?php else: ?>
    <?php echo form_open($action); ?>
    Betrag eingeben:&nbsp;
    <?php echo form_input('budget'); ?><br >
    <?php echo form_submit('', 'Speichern', 'class="btn btn-success"'); ?>
    <?php echo form_close(); ?>

<?php endif; ?>

